[INFO] fetching crate dark 0.1.0...
[INFO] checking dark-0.1.0 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate dark 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate dark 0.1.0 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dark 0.1.0
[INFO] finished tweaking crates.io crate dark 0.1.0
[INFO] tweaked toml for crates.io crate dark 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v0.4.2
[INFO] [stderr]   Downloaded compress v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f427571c7e99efa5bbca4c3fdb007d3a2c2fd5b6a71f8f24a9f91f124a48e9a
[INFO] running `Command { std: "docker" "start" "-a" "6f427571c7e99efa5bbca4c3fdb007d3a2c2fd5b6a71f8f24a9f91f124a48e9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f427571c7e99efa5bbca4c3fdb007d3a2c2fd5b6a71f8f24a9f91f124a48e9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f427571c7e99efa5bbca4c3fdb007d3a2c2fd5b6a71f8f24a9f91f124a48e9a", kill_on_drop: false }`
[INFO] [stdout] 6f427571c7e99efa5bbca4c3fdb007d3a2c2fd5b6a71f8f24a9f91f124a48e9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cdefc729d9bd76f142fe19a981a5ec05ad99cbc72905269b889dd101fced6d30
[INFO] running `Command { std: "docker" "start" "-a" "cdefc729d9bd76f142fe19a981a5ec05ad99cbc72905269b889dd101fced6d30", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking byteorder v0.4.2
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num-bigint v0.4.4
[INFO] [stderr]     Checking env_logger v0.11.2
[INFO] [stderr]     Checking num-rational v0.4.1
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking compress v0.1.2
[INFO] [stderr]     Checking dark v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `log::LogLevel`
[INFO] [stdout]   --> src/saca.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::LogLevel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `LogLevel` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             0...2   => du << FIXED_BASE,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             3...4   => (3 << FIXED_BASE) + (du&1)*(FIXED_BASE>>1),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |             5...7   => (4 << FIXED_BASE) + ((du-5)%3)*(FIXED_BASE/3),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             8...12  => (5 << FIXED_BASE) + (du&3)*(FIXED_BASE>>2),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                        ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Distance`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Encoder<W>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Decoder<R>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::StdRng`
[INFO] [stdout]   --> src/model/mod.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use rand::{Rng, StdRng};
[INFO] [stdout]    |                     ^^^^^^ no `StdRng` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            rand::rngs::StdRng
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `log::LogLevel`
[INFO] [stdout]   --> src/saca.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::LogLevel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `LogLevel` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             0...2   => du << FIXED_BASE,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             3...4   => (3 << FIXED_BASE) + (du&1)*(FIXED_BASE>>1),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |             5...7   => (4 << FIXED_BASE) + ((du-5)%3)*(FIXED_BASE/3),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             8...12  => (5 << FIXED_BASE) + (du&3)*(FIXED_BASE>>2),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                        ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Distance`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Encoder<W>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Decoder<R>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     env_logger::init().unwrap();
[INFO] [stdout]    |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::DistanceModel`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use model::DistanceModel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     env_logger::init().unwrap();
[INFO] [stdout]    |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::DistanceModel`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use model::DistanceModel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/model/mod.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use rand::{Rng, StdRng};
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dark` (bin "dark") due to 5 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 5 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dark` (bin "dark" test) due to 6 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cdefc729d9bd76f142fe19a981a5ec05ad99cbc72905269b889dd101fced6d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdefc729d9bd76f142fe19a981a5ec05ad99cbc72905269b889dd101fced6d30", kill_on_drop: false }`
[INFO] [stdout] cdefc729d9bd76f142fe19a981a5ec05ad99cbc72905269b889dd101fced6d30
[INFO] checking dark-0.1.0 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate dark 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate dark 0.1.0 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dark 0.1.0
[INFO] finished tweaking crates.io crate dark 0.1.0
[INFO] tweaked toml for crates.io crate dark 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5215f98b42d3bb0ada266e5b0a0b6b57947e1f4878bea5086bb02fd1d617398d
[INFO] running `Command { std: "docker" "start" "-a" "5215f98b42d3bb0ada266e5b0a0b6b57947e1f4878bea5086bb02fd1d617398d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5215f98b42d3bb0ada266e5b0a0b6b57947e1f4878bea5086bb02fd1d617398d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5215f98b42d3bb0ada266e5b0a0b6b57947e1f4878bea5086bb02fd1d617398d", kill_on_drop: false }`
[INFO] [stdout] 5215f98b42d3bb0ada266e5b0a0b6b57947e1f4878bea5086bb02fd1d617398d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 166ad247565205b32d0a5a743300cf0a03b36ad5e53e828f95221af1b312237d
[INFO] running `Command { std: "docker" "start" "-a" "166ad247565205b32d0a5a743300cf0a03b36ad5e53e828f95221af1b312237d", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking byteorder v0.4.2
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num-bigint v0.4.4
[INFO] [stderr]     Checking env_logger v0.11.2
[INFO] [stderr]     Checking num-rational v0.4.1
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking compress v0.1.2
[INFO] [stderr]     Checking dark v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `log::LogLevel`
[INFO] [stdout]   --> src/saca.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::LogLevel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `LogLevel` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/dark.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |             freqs: (0..32).map(|_|
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:121:24
[INFO] [stdout]     |
[INFO] [stdout] 121 |             freq_log: (0 .. MAX_LOG_CONTEXT + 1).map(|_|
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:122:18
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 (0..NUM_LAST_LOGS).map(|_|
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 |             freq_mantissa: (0..32).map(|_|
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 (0 .. MAX_BIT_CONTEXT + 1).map(|_|
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:135:24
[INFO] [stdout]     |
[INFO] [stdout] 135 |             contexts: (0..0x100).map(|_|
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:196:22
[INFO] [stdout]     |
[INFO] [stdout] 196 |             for i in MAX_LOG_CODE .. log {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:213:18
[INFO] [stdout]     |
[INFO] [stdout] 213 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:264:18
[INFO] [stdout]     |
[INFO] [stdout] 264 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             0...2   => du << FIXED_BASE,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             3...4   => (3 << FIXED_BASE) + (du&1)*(FIXED_BASE>>1),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |             5...7   => (4 << FIXED_BASE) + ((du-5)%3)*(FIXED_BASE/3),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             8...12  => (5 << FIXED_BASE) + (du&3)*(FIXED_BASE>>2),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/simple.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             freq: (0..4).map(|_| ari::table::Model::new_flat(0x100, threshold)).collect(),
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/simple.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |             for i in 0usize .. 3 {
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/simple.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |             (0usize .. 3).fold(base, |u,i| {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/ybs.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |             table_log   : (0..low_groups).map(|_|
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/ybs.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |             bin_rest    : (0..3).map(|_|
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/ybs.rs:61:28
[INFO] [stdout]    |
[INFO] [stdout] 61 |             contexts    : (0..0x100).map(|_| SymbolContext::new()).collect(),
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/ybs.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/ybs.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                        ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Distance`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Encoder<W>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Decoder<R>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/saca.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |         input[a as usize..].cmp(&input[b as usize..])
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/saca.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 |         input[a as usize..].cmp(&input[b as usize..])
[INFO] [stdout]    |                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/saca.rs:69:34
[INFO] [stdout]    |
[INFO] [stdout] 69 |                       .zip(input[1..].iter())
[INFO] [stdout]    |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |     for i in 0 .. suffixes.len() {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:143:15
[INFO] [stdout]     |
[INFO] [stdout] 143 |     for i in (0 .. suffixes.len()).rev() {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/saca.rs:193:41
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let len = get_lms_length(&input[pos..]);
[INFO] [stdout]     |                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:195:36
[INFO] [stdout]     |
[INFO] [stdout] 195 |         if len != pre_len || input[pre_pos .. pre_pos+len] != input[pos .. pos+len] {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:195:69
[INFO] [stdout]     |
[INFO] [stdout] 195 |         if len != pre_len || input[pre_pos .. pre_pos+len] != input[pos .. pos+len] {
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/saca.rs:215:34
[INFO] [stdout]     |
[INFO] [stdout] 215 |                       .zip(input[1..].iter())
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |     for i in 0 .. n1 {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/saca.rs:251:24
[INFO] [stdout]     |
[INFO] [stdout] 251 |     fill(&mut suffixes[n1..], SUF_INVALID);
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:255:15
[INFO] [stdout]     |
[INFO] [stdout] 255 |     for i in (0 .. n1).rev() {
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |         for i in 0 .. suffixes.len() {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/main.rs:40:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let matches = match options.parse(&args[1..]) {
[INFO] [stdout]    |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::StdRng`
[INFO] [stdout]   --> src/model/mod.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use rand::{Rng, StdRng};
[INFO] [stdout]    |                     ^^^^^^ no `StdRng` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            rand::rngs::StdRng
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `log::LogLevel`
[INFO] [stdout]   --> src/saca.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::LogLevel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `LogLevel` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/dark.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |             freqs: (0..32).map(|_|
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:121:24
[INFO] [stdout]     |
[INFO] [stdout] 121 |             freq_log: (0 .. MAX_LOG_CONTEXT + 1).map(|_|
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:122:18
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 (0..NUM_LAST_LOGS).map(|_|
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:130:29
[INFO] [stdout]     |
[INFO] [stdout] 130 |             freq_mantissa: (0..32).map(|_|
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 (0 .. MAX_BIT_CONTEXT + 1).map(|_|
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:135:24
[INFO] [stdout]     |
[INFO] [stdout] 135 |             contexts: (0..0x100).map(|_|
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:196:22
[INFO] [stdout]     |
[INFO] [stdout] 196 |             for i in MAX_LOG_CODE .. log {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:213:18
[INFO] [stdout]     |
[INFO] [stdout] 213 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/dark.rs:264:18
[INFO] [stdout]     |
[INFO] [stdout] 264 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             0...2   => du << FIXED_BASE,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             3...4   => (3 << FIXED_BASE) + (du&1)*(FIXED_BASE>>1),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |             5...7   => (4 << FIXED_BASE) + ((du-5)%3)*(FIXED_BASE/3),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             8...12  => (5 << FIXED_BASE) + (du&3)*(FIXED_BASE>>2),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/simple.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             freq: (0..4).map(|_| ari::table::Model::new_flat(0x100, threshold)).collect(),
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/simple.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |             for i in 0usize .. 3 {
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/simple.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |             (0usize .. 3).fold(base, |u,i| {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/ybs.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |             table_log   : (0..low_groups).map(|_|
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/ybs.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |             bin_rest    : (0..3).map(|_|
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/model/ybs.rs:61:28
[INFO] [stdout]    |
[INFO] [stdout] 61 |             contexts    : (0..0x100).map(|_| SymbolContext::new()).collect(),
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/ybs.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/ybs.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |         for i in 1 .. log {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                        ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Distance`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Encoder<W>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Decoder<R>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/model/mod.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 |         (0..size).map(|_| {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/saca.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |         input[a as usize..].cmp(&input[b as usize..])
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/saca.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 |         input[a as usize..].cmp(&input[b as usize..])
[INFO] [stdout]    |                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/saca.rs:69:34
[INFO] [stdout]    |
[INFO] [stdout] 69 |                       .zip(input[1..].iter())
[INFO] [stdout]    |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |     for i in 0 .. suffixes.len() {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:143:15
[INFO] [stdout]     |
[INFO] [stdout] 143 |     for i in (0 .. suffixes.len()).rev() {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/saca.rs:193:41
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let len = get_lms_length(&input[pos..]);
[INFO] [stdout]     |                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:195:36
[INFO] [stdout]     |
[INFO] [stdout] 195 |         if len != pre_len || input[pre_pos .. pre_pos+len] != input[pos .. pos+len] {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:195:69
[INFO] [stdout]     |
[INFO] [stdout] 195 |         if len != pre_len || input[pre_pos .. pre_pos+len] != input[pos .. pos+len] {
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/saca.rs:215:34
[INFO] [stdout]     |
[INFO] [stdout] 215 |                       .zip(input[1..].iter())
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |     for i in 0 .. n1 {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/saca.rs:251:24
[INFO] [stdout]     |
[INFO] [stdout] 251 |     fill(&mut suffixes[n1..], SUF_INVALID);
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:255:15
[INFO] [stdout]     |
[INFO] [stdout] 255 |     for i in (0 .. n1).rev() {
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/saca.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |         for i in 0 .. suffixes.len() {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/main.rs:40:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let matches = match options.parse(&args[1..]) {
[INFO] [stdout]    |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     env_logger::init().unwrap();
[INFO] [stdout]    |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::DistanceModel`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use model::DistanceModel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dark` (bin "dark") due to 5 previous errors; 41 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     env_logger::init().unwrap();
[INFO] [stdout]    |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::DistanceModel`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use model::DistanceModel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/model/mod.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use rand::{Rng, StdRng};
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 43 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dark` (bin "dark" test) due to 6 previous errors; 43 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "166ad247565205b32d0a5a743300cf0a03b36ad5e53e828f95221af1b312237d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "166ad247565205b32d0a5a743300cf0a03b36ad5e53e828f95221af1b312237d", kill_on_drop: false }`
[INFO] [stdout] 166ad247565205b32d0a5a743300cf0a03b36ad5e53e828f95221af1b312237d
